package com.ruoyi.module.domain;

import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.math.BigDecimal;

/**
 * 我的购物车对象 fu_shopping_cart
 *
 * @author fubojin
 * @date 2024-12-16
 */
@Data
public class ShoppingCart extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Long userId;

    /** 商品ID */
    @Excel(name = "商品ID")
    private Long goodsId;

    /** 商品数量 */
    @Excel(name = "商品数量")
    private Integer quantity;


    /** 商品主图 */
    private String mainImg;
    /**
     * 商品名称
     */
    private String goodsName;

    /** 商品价格 */
    private BigDecimal goodsPrice;

    /** 商品零售价 */
    private BigDecimal retailPrice;

}
